MatrixAddons\EasyInvoice\Repositories\PaymentRepository S

Total Complexity 41
Dependencies 2
Dependents 7
Total lines 295
Lines of code 186
Logical lines of code 65
Comment lines 0
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
create()
S
46 6 38
get_total_paid_amount_by_invoice_id()
S
54 4 20
get_all_payments_by_invoice_id()
S
48 2 33
get_net_due_amount()
S
67 2 7
update_transaction_id()
S
72 2 5
update_status()
S
67 2 8
__construct()
S
81 1 3
get_status()
S
80 1 3
update_payment_date()
S
78 1 3
update_due_amount()
S
78 1 3
update_paid_amount()
S
78 1 3
add_note()
S
79 1 3
get_client_email()
S
79 1 3
get_payment_date()
S
79 1 3
get_note()
S
79 1 3
get_transaction_id()
S
79 1 3
get_payment_type()
S
79 1 3
get_installment_id()
S
79 1 3
get_invoice_id()
S
79 1 3
payment_statuses()
S
65 1 9
get_due_amount()
S
79 1 3
get_payable_amount()
S
78 1 3
get_paid_amount()
S
79 1 3
get_currency_code()
S
79 1 3
get_total_amount()
S
79 1 3
get_gateway()
S
79 1 3
get_id()
S
82 1 3
get_title()
S
80 1 3
update_payment_gateway()
S
78 1 3